#include "function actualize.h"

void PrintLNode(LinkList *pLink)
{
	Link pL;
	pL = pLink->head;
	pL = pL->next;
	cout << pL->data.oeffi; 
	if (pL->data.power != 0) 
		cout << "x(" << pL->data.power << ")";
	while (pL != pLink->end)
	{
		pL = pL->next;
		if (pL->data.oeffi > 0)cout << "+";
		if (pL->data.power == 0)cout << pL->data.oeffi;
		else cout << pL->data.oeffi << "x(" << pL->data.power << ")";
	}
	cout << endl;
}